// import { getAuthList } from './auth_list.js'
export function authCheck(id){
	//当前登录者拥有的权限IDs
	let curUserAuthIds = this.$store.state.authIds;
	if(curUserAuthIds.indexOf(id) > -1){ //如果有这权限
		return true
	}else{
		return false
	}
}

export default {
	authCheck,
}